//==============================================================================
//	
//	Copyright (c) 2002-
//	Authors:
//	* Dave Parker <d.a.parker@cs.bham.ac.uk> (University of Birmingham)
//	
//------------------------------------------------------------------------------
//	
//	This file is part of PRISM.
//	
//	PRISM is free software; you can redistribute it and/or modify
//	it under the terms of the GNU General Public License as published by
//	the Free Software Foundation; either version 2 of the License, or
//	(at your option) any later version.
//	
//	PRISM is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//	GNU General Public License for more details.
//	
//	You should have received a copy of the GNU General Public License
//	along with PRISM; if not, write to the Free Software Foundation,
//	Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//	
//==============================================================================

package com.prism.e4.rcp.prism;

import java.io.File;

import com.prism.e4.rcp.jdd.JDDNode;
import com.prism.e4.rcp.jdd.JDDVars;

/**
 * Dummy class implementing StateValues to return miscellaneous (single valued)
 * results, typically of type "void".
 */
public class StateValuesVoid implements StateValues {
	private Object value = null;

	public StateValuesVoid(Object value) {
		this.value = value;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public StateValuesDV convertToStateValuesDV() {
		throw new UnsupportedOperationException();
	}

	public StateValuesMTBDD convertToStateValuesMTBDD() {
		throw new UnsupportedOperationException();
	}

	public void readFromFile(File file) throws PrismException {
		throw new UnsupportedOperationException();
	}

	public void roundOff(int places) {
		throw new UnsupportedOperationException();
	}

	public void subtractFromOne() {
		throw new UnsupportedOperationException();
	}

	public void add(StateValues sp) {
		throw new UnsupportedOperationException();
	}

	public void timesConstant(double d) {
		throw new UnsupportedOperationException();
	}

	public double dotProduct(StateValues sp) {
		throw new UnsupportedOperationException();
	}

	public void filter(JDDNode filter) {
		throw new UnsupportedOperationException();
	}

	public void maxMTBDD(JDDNode vec2) {
		throw new UnsupportedOperationException();
	}

	public void clear() {
		// Do nothing
	}

	public int getNNZ() {
		throw new UnsupportedOperationException();
	}

	public String getNNZString() {
		throw new UnsupportedOperationException();
	}

	public double firstFromBDD(JDDNode filter) {
		throw new UnsupportedOperationException();
	}

	public double minOverBDD(JDDNode filter) {
		throw new UnsupportedOperationException();
	}

	public double maxOverBDD(JDDNode filter) {
		throw new UnsupportedOperationException();
	}

	public double sumOverBDD(JDDNode filter) {
		throw new UnsupportedOperationException();
	}

	public double sumOverMTBDD(JDDNode mult) {
		throw new UnsupportedOperationException();
	}

	public StateValues sumOverDDVars(JDDVars sumVars, Model newModel)
			throws PrismException {
		throw new UnsupportedOperationException();
	}

	public JDDNode getBDDFromInterval(String relOp, double bound) {
		throw new UnsupportedOperationException();
	}

	public JDDNode getBDDFromInterval(double lo, double hi) {
		throw new UnsupportedOperationException();
	}

	public JDDNode getBDDFromCloseValue(double val, double epsilon, boolean abs) {
		throw new UnsupportedOperationException();
	}

	public JDDNode getBDDFromCloseValueAbs(double val, double epsilon) {
		throw new UnsupportedOperationException();
	}

	public JDDNode getBDDFromCloseValueRel(double val, double epsilon) {
		throw new UnsupportedOperationException();
	}

	public void print(PrismLog log) throws PrismException {
		throw new UnsupportedOperationException();
	}

	public void print(PrismLog log, boolean printSparse, boolean printMatlab,
			boolean printStates) throws PrismException {
		throw new UnsupportedOperationException();
	}

	public void print(PrismLog log, boolean printSparse, boolean printMatlab,
			boolean printStates, boolean printIndices) throws PrismException {
		throw new UnsupportedOperationException();
	}

	public void printFiltered(PrismLog log, JDDNode filter)
			throws PrismException {
		throw new UnsupportedOperationException();
	}

	public void printFiltered(PrismLog log, JDDNode filter,
			boolean printSparse, boolean printMatlab, boolean printStates)
			throws PrismException {
		throw new UnsupportedOperationException();
	}

	public StateValues deepCopy() throws PrismException {
		throw new UnsupportedOperationException();
	}
}

// ------------------------------------------------------------------------------